package com.tianhao.luo.nouse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: ToyGun
 * @Description: 玩具枪
 * @author: tianhao.luo@hand-china.com
 * @date: 2020/7/7  11:31
 */
public class ToyGun extends AbstractToy{
    private static final Logger LOGGER = LoggerFactory.getLogger(ToyGun.class);

    public ToyGun(AbstractGun gun) {
        super(gun);
    }


    @Override
    public void shoot() {
        LOGGER.info("玩具枪杀不死人");
    }

    @Override
    public void sound() {
        this.gun.sound();
    }

    @Override
    public void model() {
        this.gun.model();
    }
}
